namespace RealtimeCollabGame.Application.Commands;

public class LeaveGameCommand
{
    public string GameCode { get; }
    public string PlayerNickName { get; }

    public LeaveGameCommand(string gameCode, string playerNickName)
    {
        GameCode = gameCode ?? throw new ArgumentNullException(nameof(gameCode));
        PlayerNickName = playerNickName ?? throw new ArgumentNullException(nameof(playerNickName));
    }
} 